﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020014B7 RID: 5303
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class UpdateMapRotationDataScNotify : IMessage<UpdateMapRotationDataScNotify>, IMessage, IEquatable<UpdateMapRotationDataScNotify>, IDeepCloneable<UpdateMapRotationDataScNotify>, IBufferMessage
	{
		// Token: 0x170042BE RID: 17086
		// (get) Token: 0x0600ED17 RID: 60695 RVA: 0x002794C8 File Offset: 0x002776C8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<UpdateMapRotationDataScNotify> Parser
		{
			get
			{
				return UpdateMapRotationDataScNotify._parser;
			}
		}

		// Token: 0x170042BF RID: 17087
		// (get) Token: 0x0600ED18 RID: 60696 RVA: 0x002794CF File Offset: 0x002776CF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return UpdateMapRotationDataScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170042C0 RID: 17088
		// (get) Token: 0x0600ED19 RID: 60697 RVA: 0x002794E1 File Offset: 0x002776E1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return UpdateMapRotationDataScNotify.Descriptor;
			}
		}

		// Token: 0x0600ED1A RID: 60698 RVA: 0x002794E8 File Offset: 0x002776E8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMapRotationDataScNotify()
		{
		}

		// Token: 0x0600ED1B RID: 60699 RVA: 0x00279508 File Offset: 0x00277708
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMapRotationDataScNotify(UpdateMapRotationDataScNotify other) : this()
		{
			this.chargerInfo_ = other.chargerInfo_.Clone();
			this.rotaterDataList_ = other.rotaterDataList_.Clone();
			this.energyInfo_ = ((other.energyInfo_ != null) ? other.energyInfo_.Clone() : null);
			this.lGCHOINHLDJ_ = other.lGCHOINHLDJ_;
			this.rogueMap_ = ((other.rogueMap_ != null) ? other.rogueMap_.Clone() : null);
			this.jOBJHNJJNDI_ = other.jOBJHNJJNDI_;
			this.fPHPEJPOBGJ_ = other.fPHPEJPOBGJ_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600ED1C RID: 60700 RVA: 0x002795AA File Offset: 0x002777AA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public UpdateMapRotationDataScNotify Clone()
		{
			return new UpdateMapRotationDataScNotify(this);
		}

		// Token: 0x170042C1 RID: 17089
		// (get) Token: 0x0600ED1D RID: 60701 RVA: 0x002795B2 File Offset: 0x002777B2
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ChargerInfo> ChargerInfo
		{
			get
			{
				return this.chargerInfo_;
			}
		}

		// Token: 0x170042C2 RID: 17090
		// (get) Token: 0x0600ED1E RID: 60702 RVA: 0x002795BA File Offset: 0x002777BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RotaterData> RotaterDataList
		{
			get
			{
				return this.rotaterDataList_;
			}
		}

		// Token: 0x170042C3 RID: 17091
		// (get) Token: 0x0600ED1F RID: 60703 RVA: 0x002795C2 File Offset: 0x002777C2
		// (set) Token: 0x0600ED20 RID: 60704 RVA: 0x002795CA File Offset: 0x002777CA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RotaterEnergyInfo EnergyInfo
		{
			get
			{
				return this.energyInfo_;
			}
			set
			{
				this.energyInfo_ = value;
			}
		}

		// Token: 0x170042C4 RID: 17092
		// (get) Token: 0x0600ED21 RID: 60705 RVA: 0x002795D3 File Offset: 0x002777D3
		// (set) Token: 0x0600ED22 RID: 60706 RVA: 0x002795DB File Offset: 0x002777DB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int LGCHOINHLDJ
		{
			get
			{
				return this.lGCHOINHLDJ_;
			}
			set
			{
				this.lGCHOINHLDJ_ = value;
			}
		}

		// Token: 0x170042C5 RID: 17093
		// (get) Token: 0x0600ED23 RID: 60707 RVA: 0x002795E4 File Offset: 0x002777E4
		// (set) Token: 0x0600ED24 RID: 60708 RVA: 0x002795EC File Offset: 0x002777EC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public NewMapRot RogueMap
		{
			get
			{
				return this.rogueMap_;
			}
			set
			{
				this.rogueMap_ = value;
			}
		}

		// Token: 0x170042C6 RID: 17094
		// (get) Token: 0x0600ED25 RID: 60709 RVA: 0x002795F5 File Offset: 0x002777F5
		// (set) Token: 0x0600ED26 RID: 60710 RVA: 0x002795FD File Offset: 0x002777FD
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool JOBJHNJJNDI
		{
			get
			{
				return this.jOBJHNJJNDI_;
			}
			set
			{
				this.jOBJHNJJNDI_ = value;
			}
		}

		// Token: 0x170042C7 RID: 17095
		// (get) Token: 0x0600ED27 RID: 60711 RVA: 0x00279606 File Offset: 0x00277806
		// (set) Token: 0x0600ED28 RID: 60712 RVA: 0x0027960E File Offset: 0x0027780E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint FPHPEJPOBGJ
		{
			get
			{
				return this.fPHPEJPOBGJ_;
			}
			set
			{
				this.fPHPEJPOBGJ_ = value;
			}
		}

		// Token: 0x0600ED29 RID: 60713 RVA: 0x00279617 File Offset: 0x00277817
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as UpdateMapRotationDataScNotify);
		}

		// Token: 0x0600ED2A RID: 60714 RVA: 0x00279628 File Offset: 0x00277828
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(UpdateMapRotationDataScNotify other)
		{
			return other != null && (other == this || (this.chargerInfo_.Equals(other.chargerInfo_) && this.rotaterDataList_.Equals(other.rotaterDataList_) && object.Equals(this.EnergyInfo, other.EnergyInfo) && this.LGCHOINHLDJ == other.LGCHOINHLDJ && object.Equals(this.RogueMap, other.RogueMap) && this.JOBJHNJJNDI == other.JOBJHNJJNDI && this.FPHPEJPOBGJ == other.FPHPEJPOBGJ && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600ED2B RID: 60715 RVA: 0x002796D8 File Offset: 0x002778D8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.chargerInfo_.GetHashCode();
			num ^= this.rotaterDataList_.GetHashCode();
			if (this.energyInfo_ != null)
			{
				num ^= this.EnergyInfo.GetHashCode();
			}
			if (this.LGCHOINHLDJ != 0)
			{
				num ^= this.LGCHOINHLDJ.GetHashCode();
			}
			if (this.rogueMap_ != null)
			{
				num ^= this.RogueMap.GetHashCode();
			}
			if (this.JOBJHNJJNDI)
			{
				num ^= this.JOBJHNJJNDI.GetHashCode();
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num ^= this.FPHPEJPOBGJ.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600ED2C RID: 60716 RVA: 0x00279791 File Offset: 0x00277991
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600ED2D RID: 60717 RVA: 0x00279799 File Offset: 0x00277999
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600ED2E RID: 60718 RVA: 0x002797A4 File Offset: 0x002779A4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.chargerInfo_.WriteTo(ref output, UpdateMapRotationDataScNotify._repeated_chargerInfo_codec);
			if (this.JOBJHNJJNDI)
			{
				output.WriteRawTag(32);
				output.WriteBool(this.JOBJHNJJNDI);
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				output.WriteRawTag(40);
				output.WriteUInt32(this.FPHPEJPOBGJ);
			}
			if (this.rogueMap_ != null)
			{
				output.WriteRawTag(98);
				output.WriteMessage(this.RogueMap);
			}
			if (this.energyInfo_ != null)
			{
				output.WriteRawTag(106);
				output.WriteMessage(this.EnergyInfo);
			}
			this.rotaterDataList_.WriteTo(ref output, UpdateMapRotationDataScNotify._repeated_rotaterDataList_codec);
			if (this.LGCHOINHLDJ != 0)
			{
				output.WriteRawTag(120);
				output.WriteInt32(this.LGCHOINHLDJ);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600ED2F RID: 60719 RVA: 0x00279874 File Offset: 0x00277A74
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.chargerInfo_.CalculateSize(UpdateMapRotationDataScNotify._repeated_chargerInfo_codec);
			num += this.rotaterDataList_.CalculateSize(UpdateMapRotationDataScNotify._repeated_rotaterDataList_codec);
			if (this.energyInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.EnergyInfo);
			}
			if (this.LGCHOINHLDJ != 0)
			{
				num += 1 + CodedOutputStream.ComputeInt32Size(this.LGCHOINHLDJ);
			}
			if (this.rogueMap_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueMap);
			}
			if (this.JOBJHNJJNDI)
			{
				num += 2;
			}
			if (this.FPHPEJPOBGJ != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.FPHPEJPOBGJ);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600ED30 RID: 60720 RVA: 0x0027992C File Offset: 0x00277B2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(UpdateMapRotationDataScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.chargerInfo_.Add(other.chargerInfo_);
			this.rotaterDataList_.Add(other.rotaterDataList_);
			if (other.energyInfo_ != null)
			{
				if (this.energyInfo_ == null)
				{
					this.EnergyInfo = new RotaterEnergyInfo();
				}
				this.EnergyInfo.MergeFrom(other.EnergyInfo);
			}
			if (other.LGCHOINHLDJ != 0)
			{
				this.LGCHOINHLDJ = other.LGCHOINHLDJ;
			}
			if (other.rogueMap_ != null)
			{
				if (this.rogueMap_ == null)
				{
					this.RogueMap = new NewMapRot();
				}
				this.RogueMap.MergeFrom(other.RogueMap);
			}
			if (other.JOBJHNJJNDI)
			{
				this.JOBJHNJJNDI = other.JOBJHNJJNDI;
			}
			if (other.FPHPEJPOBGJ != 0U)
			{
				this.FPHPEJPOBGJ = other.FPHPEJPOBGJ;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600ED31 RID: 60721 RVA: 0x00279A0A File Offset: 0x00277C0A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600ED32 RID: 60722 RVA: 0x00279A14 File Offset: 0x00277C14
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num <= 40U)
				{
					if (num == 18U)
					{
						this.chargerInfo_.AddEntriesFrom(ref input, UpdateMapRotationDataScNotify._repeated_chargerInfo_codec);
						continue;
					}
					if (num == 32U)
					{
						this.JOBJHNJJNDI = input.ReadBool();
						continue;
					}
					if (num == 40U)
					{
						this.FPHPEJPOBGJ = input.ReadUInt32();
						continue;
					}
				}
				else if (num <= 106U)
				{
					if (num == 98U)
					{
						if (this.rogueMap_ == null)
						{
							this.RogueMap = new NewMapRot();
						}
						input.ReadMessage(this.RogueMap);
						continue;
					}
					if (num == 106U)
					{
						if (this.energyInfo_ == null)
						{
							this.EnergyInfo = new RotaterEnergyInfo();
						}
						input.ReadMessage(this.EnergyInfo);
						continue;
					}
				}
				else
				{
					if (num == 114U)
					{
						this.rotaterDataList_.AddEntriesFrom(ref input, UpdateMapRotationDataScNotify._repeated_rotaterDataList_codec);
						continue;
					}
					if (num == 120U)
					{
						this.LGCHOINHLDJ = input.ReadInt32();
						continue;
					}
				}
				this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
			}
		}

		// Token: 0x04005DC5 RID: 24005
		private static readonly MessageParser<UpdateMapRotationDataScNotify> _parser = new MessageParser<UpdateMapRotationDataScNotify>(() => new UpdateMapRotationDataScNotify());

		// Token: 0x04005DC6 RID: 24006
		private UnknownFieldSet _unknownFields;

		// Token: 0x04005DC7 RID: 24007
		public const int ChargerInfoFieldNumber = 2;

		// Token: 0x04005DC8 RID: 24008
		private static readonly FieldCodec<ChargerInfo> _repeated_chargerInfo_codec = FieldCodec.ForMessage<ChargerInfo>(18U, EggLink.DanhengServer.Proto.ChargerInfo.Parser);

		// Token: 0x04005DC9 RID: 24009
		private readonly RepeatedField<ChargerInfo> chargerInfo_ = new RepeatedField<ChargerInfo>();

		// Token: 0x04005DCA RID: 24010
		public const int RotaterDataListFieldNumber = 14;

		// Token: 0x04005DCB RID: 24011
		private static readonly FieldCodec<RotaterData> _repeated_rotaterDataList_codec = FieldCodec.ForMessage<RotaterData>(114U, RotaterData.Parser);

		// Token: 0x04005DCC RID: 24012
		private readonly RepeatedField<RotaterData> rotaterDataList_ = new RepeatedField<RotaterData>();

		// Token: 0x04005DCD RID: 24013
		public const int EnergyInfoFieldNumber = 13;

		// Token: 0x04005DCE RID: 24014
		private RotaterEnergyInfo energyInfo_;

		// Token: 0x04005DCF RID: 24015
		public const int LGCHOINHLDJFieldNumber = 15;

		// Token: 0x04005DD0 RID: 24016
		private int lGCHOINHLDJ_;

		// Token: 0x04005DD1 RID: 24017
		public const int RogueMapFieldNumber = 12;

		// Token: 0x04005DD2 RID: 24018
		private NewMapRot rogueMap_;

		// Token: 0x04005DD3 RID: 24019
		public const int JOBJHNJJNDIFieldNumber = 4;

		// Token: 0x04005DD4 RID: 24020
		private bool jOBJHNJJNDI_;

		// Token: 0x04005DD5 RID: 24021
		public const int FPHPEJPOBGJFieldNumber = 5;

		// Token: 0x04005DD6 RID: 24022
		private uint fPHPEJPOBGJ_;
	}
}
